http: set the HTTP status on directory listing
authorGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 7 Oct 2014 11:10:08 +0000 (13:10 +0200)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 7 Oct 2014 11:19:36 +0000 (13:19 +0200)
commit92c5a9f99211c10b506294164e4bfd1ff66639c7
tree61d5f6fcb4726cc42b33873f969f96fe928c0bfe
parent7b0e70b72fb1d7307a018a72dbf4a5c9bff9a235
http: set the HTTP status on directory listing

Fix a HTTP response header like the following:

HTTP/1.1 0 (null)
Server: ostree-httpd libsoup/2.48.0
Date: Tue, 07 Oct 2014 11:19:22 GMT
Content-Type: text/html
Content-Length: 12533

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/ostree/ot-builtin-trivial-httpd.c